package com.ljx.NoteBody.service;

import com.ljx.NoteBody.dto.CommentsDto;
import com.ljx.NoteBody.entity.Comments;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface CommentsService {

    void saveComment(Comments comments);

    List<CommentsDto> queryCommentByNoteId(Long noteId, HttpServletRequest request);
}
